package com.tanhua.system.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Admin implements Serializable {

    private Long id;  //id

    private String username;    //用户名

    @JsonIgnore
    private String password;    //密码

    private String avatar;  //头像
}
